package com.zjitc.dao;

import com.zjitc.model.User;
import org.apache.ibatis.annotations.Param;

/**
 * Created by LWW on 2018/3/29.
 */
public interface UserDao {
    int userNameCount(String username);

    User findByUserNameAndPassword(@Param("username") String username, @Param("password") String password);

    int add(User user);

  String question(String username);
}